﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sunimage.Spjg.Common
{
    public class Permission
    {
        /// <summary>
        /// 权限Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 排序值
        /// </summary>
        public int Sort { get; set; }
    }

    public enum PermissionEnum
    {
        FileUpload = 1,
        FileDownload = 2,
        FileShare = 3,
        WriteNote = 4,
        FileDelete = 5
    }
}
